package com.cictec.middleware.elasticsearch.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 中间件GPS位置信息ES 业务
 * 
 * @author ql
 */
public interface ElasticsearchPositionService {

	public void saveTimingPointTM(List<Map> list);
	public List queryTimingPointTM(Date startTime, Date endTime, String devCode, String lineUuid);
	
	public void saveEnterOutStation(Map map);

	public void saveEnterOutStations(List<Map> list, Map additionalParams);
	
	
	public List queryEnterOutStation(String date, String busNumber);
	
	/**
	 * 查询站点信息
	 * @param startTime
	 * @param endTime
	 * @param busNumber
	 * @param lineUuid
	 * @param lineType
	 * @param lsUuid
	 * @return
	 */
	public List queryEnterOutStation(Date startTime, Date endTime, String busNumber, String lineUuid, String lineType, String lsUuid );
	
	public void deleteEnterOut(String date, String busNumber);
	
	public void savePosition(List<Map> list, Map additionalParams);
	
	public void deletePosition(String date, String busUuid, String busNumber);
	
	public List queryPosition(Date startTime, Date endTime, String busUuid, String busNumber, String lineUuid, String lineType);
}
